package com.hzhc.enumBean;

import java.util.stream.Stream;

/**
 * @author wuxiaoke
 * @description 提收箱枚举
 * @date 2024/6/18 下午4:01
 */
public enum TSXEnum {
    TX("TX","提箱"),
    SX("SX","收箱"),
    ZC("ZC","装车"),
    XC("XC","卸车");

    private String code;

    private String name;

    TSXEnum(String code, String name) {
        this.code = code;
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }
    public static Stream<YwOrderTypeEnum> stream() {
        return Stream.of(YwOrderTypeEnum.values());
    }
}
